# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -march=amdgcn -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefix=GCN

---

name: s_barrier
legalized:       true
regBankSelected: true
tracksRegLiveness: true


body: |
  bb.0:
    ; GCN-LABEL: name: s_barrier
    ; GCN: S_BARRIER
    G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.s.barrier)


...
